﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhongMachTu.OModel
{
    class User
    {
        //type = 1:Doctor;
        //type = 2:Reception;
        //type = 3:Accountant;
        private int _id, _type;
        private string _email, _password;
        

        public User()
        {
        }

        public User(int userId, string email, string password, int type)
        {
            _id = userId;
            _email = email;
            _password = password;
            _type = type;
        }

        public int Id
        {
          get { return _id; }
          set { _id = value; }
        }

        public string Email
        {
          get { return _email; }
          set { _email = value; }
        }

        public string Password
        {
          get { return _password; }
          set { _password = value; }
        }

        public int Type
        {
          get { return _type; }
          set { _type = value; }
        }
    }
}
